# -*- coding: utf-8 -*

from django.conf.urls import patterns, include, url


urlpatterns = patterns('mysitebbs.views',
	(r'^$', 'home'),
	
	
	
	(r'^topic/(?P<topic_id>\d+)/$', 'show_topic'),#浏览主题
	(r'^topic/(?P<topic_id>\d+)/quickpost/$', 'add_post',{'forum_id':None}),#回复主题
	
	(r'^(?P<forum_id>\d+)/$', 'show_forum'),#主题列表
	(r'^(?P<forum_id>\d+)/quickpost/$', 'add_post',{'topic_id':None}),#新主题
	
	
)